package com.dingreading.cloud.soms.mapper;

import com.alibaba.fastjson.JSONObject;
import com.dingreading.cloud.soms.entity.StoreSignIn;
import com.mybatisflex.core.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 映射层。
 *
 * @author Administrator
 * @since 2024-09-11
 */
public interface StoreSignInMapper extends BaseMapper<StoreSignIn> {

    List<JSONObject> todayList(@Param("storeId") long storeId, @Param("memberName") String memberName, @Param("status") Integer status, @Param("date") String date);

    List<JSONObject> getMemberSignInNum(@Param("storeId") Long storeId, @Param("memerUids") List<String> memerUids, @Param("beginDate") String beginDate, @Param("endDate") String endDate);

    List<JSONObject> getMemberSignInCnt(@Param("memerUids") List<String> memerUids);

}
